<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>DOM数组方法</title>
    <link rel="stylesheet" href="index.css">
</head>
<body>
    <h1>DOM数组方法操作</h1>
    <div class="container">
        <aside>
            <button id="addUser" type="button">添加富翁👱‍♂️</button>
            <button id="doubleWealth" type="button">双倍财富💰</button>
            <button id="showMillionaires" type="button">仅显示百万富翁 💵</button>
            <button id="sort" type="button">按首富排序 ↓</button>
            <button id="calculateWealth" type="button">计算总财富 🧮</button>
        </aside>
        <main>
            <h2>
                <strong>人物</strong>
                财富
            </h2>
            <section id="main"></section>
        </main>
    </div>
</body>
<script src="index.js"></script>
</html>